<template>
  <div class="goodslist">
    <div class="tit">商品列表</div>
     <tabbar></tabbar>
  </div>
</template>

<script>
import tabbar from "@/components/tabbar.vue";

export default {
  name: "goodslist",
  data() {
    return {};
  },
  components: {
    tabbar
  },
  created(){
      this.axios.get('https://api-hmugo-web.itheima.net/api/public/v1/goods/search',{      
    }).then((res)=>{
        console.log(res.data);
    }).catch(function (error) {
        console.log(error);
    });
  }
};
</script> 

<style scoped>
.goodslist .tit{
    font-size: 26px;
}
</style>
